package cn.lzx.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class JsonResult {

    private Boolean success = true;
    private String msg = "操作成功";

    private Object object;

    public JsonResult(Boolean success, String msg) {
        this.success = success;
        this.msg = msg;
    }
}
